mt1" lang="en"><1iv class="titlepage">Im516507">="amFeaturesrandrBenefi s="h2div>
You can pres
Two metawerprelquove">mt thme">prelemphasis"tlem>TTis isua garnet.
I eae turL tTa rinto arprecious gemaandasoIFaday ic will make a princess very happy!mat themat the”
map>mes
Tro moral of tTisutalF: Two met, two very diffs ent perspectfves regardithutTo sa>rets,utTenaic cae b<
srorce of discomfort.
map>mes
Son, stcrtedroutaasuauproj">< tTa rsoughtatoaprovideainteroperability foruMS Wi="Dosu3.x
cliet sawithaaaUNIXass as . It has grown up a lot sinceuitsuhumglesbeginniths andanowsprovides
featuresrandrfunctfonality fi forulargeascaleudeploymet . It also hasasoIFawar s. Inrs">mes
So,awTa rare tTeabenefi srof featuresrmet ionedrin tTisuchapter?
map>mt1" lang="eitemizedli c:nxul yp=lipres
Son, -3 cae repltceaae MS Wi="DosuNT4rDomain Controlls .
map>mcliprlipres
Son, -3 offs s excellentainteroperability withaMS Wi="DosuNT4-smcliprlipres
Son, -3 permitsufulluNT4-smcliprlipres
Son, hasasscurity modes tTa rpermitumor< flexible
authet icavion tTanris possiblerwithaMS Wi="DosuNT4rDomain Controlls s.
map>mcliprlipres
Son, -3 permitsuuse of multiple account dacabase backends.
map>mcliprlipres
TT< account (p>prword) dacabase backends cae b<1iv class="titlepage">
You can pres
mtelang="ei="id2551616">Im516598"e="am
Administratorsrof Microsoft nitwbiksuoftenurefs to trree
diffs ent typ< of ss as s:map>mt1" lang="eitemizedli c:nxul yp=lipresDomain Controlls map>mt1" lang="eitemizedli c:nxul yp=lipPrilary Domain Controlls maliprlipBackuprDomain Controlls maliprlipADS Domain Controlls malipr/ulu can prcliprlipresDomain Member Ss as map>mt1" lang="eitemizedli c:nxul yp=lipActfve Dir">mclipr/ulu can pres
Tro chapters crverith Domain Control, BackuprDomain Controlrand Domain Membership provide
pertinentainformavoon regardithuSon, crnfiguratire forueach of tTeseass as aroles.
TTeareader is ntrongly encouraged to bocoIFaintimatelysfamiliar withatTo informavoon
preset ed.
map>mcan prt1" lang="en"><1iv class="titlepage">Im516661="amSon, Security Modesl/h2div>
You can pres
mtelang="ei="id2551616">Im516669"e="am
mtelang="ei="id2551616">Im516676">="am
In tTisus">mes
InrtToaSMB/CIFSunitwbikitg wbild,atrore are only two typprelemphasis"tlem>User Levelmat the
andamt thme">prelemphasis"tlem>Share Levelmaem>mat the. Wo refs to trese collectfvely asumt thme">prelemphasis"tlem>sscurity levelsmaem>mat the.
InrimplFmet ithutTose two sscurity levels, Son, providesaflexibilities
tTa rare not availnble withaMicrosoft Wi="DosuNT4/200xrss as s.aIn actualrfact, Son, implFmet s
mt thme">prelemphasis"tlem>Share Levelmaem>mat the sscurity only one way, butshasafouruways of implFmet ith
mt thme">prelemphasis"tlem>User Levelmat the sscurity. Collectfvely,awe call tTeaSon, implFmet ations
mt thme">prelemphasis"tlem>Security Modesl/em>mat the. TTprelemphasis"tlem>SHAREmaem>mat the, mt thme">prelemphasis"tlem>USERmaem>mat the,
mt thme">prelemphasis"tlem>DOMAINmaem>mat the, mt thme">prelemphasis"tlem>ADSmaem>mat the, andamt thme">prelemphasis"tlem>SERVERmaem>mat the modes.
TTmes
AnaSMBess as tellsrtro cliet a rstartuprwTa rsscurity levelrit is runnith. TTefves affectsrtro way tro cliet thet
tries to authet icaveai self. It does notadir">mt1" lang="en"><2iv class="titlepage">Im516752i>="amUser LevelrSecurity="h3prv>
You can pres
Weuwill describe User LevelrSecurityafirst, assits nimplFr.
InrUser LevelrSecurity, tro cliet will nendr
ssssoonasetuprrequestadir">prword. TTe ss as aeae eitror accept or rej">< tTa
usern">
prword eombinacion.rAtatTisrstage tToass as ahasano idearwTa
share tro cliet will eventually try to crnn">< to, so ic cae'tubase tTe
mt thme">prelemphasis"tlem>accept/rej">mat the on anytTith rtmer thae:
map>mt1" lang="eorddredli c:nxol yp=liprestT
prword.map>mcliprliprestro n">mclipr/olu can pres
If tToass as aaccepts tToausern">
prword tTenatTeacliet expectsrto bo able to
mount shares (usitg a mt thme">prelemphasis"tlem>tree conn">mat the)awithoutaspecifyitg a
p>prword. I expectsrtTatuall access rightsrwill b< as tToausern">
prword
specifiedrin tTeumt thme">prelemphasis"tlem>ssssoonasetupmaem>mat the.
map>mes
I aisualso possiblerfor a cliet to nendrmultiple mt thme">prelemphasis"tlem>ssssoonasetupmaem>mat the
reques s.aWhenatToass as aresponds,ait gfves tro cliet a mt thme">prelemphasis"tlem>uidmaem>mat the to uss
asaanrauthet icavion tagrforatTatausern">prword. TTe e"iet canrmaintain multiple
authet icavion crn25xtsrin tTisuway (Wi=DDaisuan examplF of an applicavion tTat does tTis).
map>mt1" lang="en"><3iv class="titlepage">Im516820"e="amExamplF Crnfiguratire="h4prv>
You can pres
TT< mname">prelfileLDIFmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td>mtelang="ei="id2551616">Im516842">="ammi ce">
sscurity =uuse maty =/tr>=/tnbleu es
TTisrisutro default setvithrsinceuSon, -2.2.x.
map>mcan prcan prt1" lang="en"><2iv class="titlepage">Im516864"m="amShare LevelrSecurity="h3prv>
You can pres
InrShare Levelrsecurity, tro cliet authet icaves
i selfrseparatelyaforueach share. I sends a p>prword aloth withaeach
tree conn">prword to bo associated
withaeach share,aindependent of tToauser. Tris means tTa rSon, hasato wbik outawTa
usern">< tro cliet probnbly wants to uss. It isrneas aexplicitly sent tToausern"><.
SoIFacomlercial SMBess as sasuch asuNT actually associate p>prwordsadir">
prword pai stTatuisuauthet icaved, not aushare/p>prword pai .
map>mes
To undirstand tTeaMS Wi="Dosunitwbikitg parallsls, one shDto tTink
in termsrof MS Wi="Dosu9x/Me wrore one eae create a shared folder tTa rprovidesaread-only
orafull access,awithaorawithoutaa p>prword.
map>mes
Many e"iet sasendr ssssoonasetuprevensifutTeass as ais inrShare Levelrsecurity. TTprword. Son, recrrdsatTis usern"><
of tTeashare troy try to crnn">< to (useful foruhoIFadir">Im516900"e="amuse aparamever in tTeumname">prelfileLDIFprword isutron checkedrin turL againstatTeseapossiblerusern">mt1" lang="en"><3iv class="titlepage">Im516916">="amExamplF Crnfiguratire="h4prv>
You can pres
TT< mname">prelfileLDIFmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td>mtelang="ei="id2551616">Im516939">="ammi ce">
sscurity =usharematy =/tr>=/tnbleu es
TTet MS Wi="Dosue"iet sado not like to wbik
withashare mode sscurity ss as s.aYrorar< ntrongly discouraged fC.
usitg Share Levelrsecurity.
map>mcan prcan prt1" lang="en"><2iv class="titlepage">Im516963">="amDomain Security Mode (User LevelrSecurity)="h3prv>
You can pres
mtelang="ei="id2551616">Im516971"e="am
WhenaSon, isroperatith inumtelang="ei="id2551616">Im516979">="amsscurity =udomain mode,
tTeaSon, ss as ahasaaudomain sscurity trust account (a machote account) andrcauses
all authet icavion reques srto b< paprmt1" lang="en"><3iv class="titlepage">Im516991">="amExamplF Crnfiguratire="h4prv>
You can presmt thme">prelemphasis"tlem>
Son, asaauDomain Member Ss as
mat themap>mes
mtelang="ei="id2551616">Im517004"m="am
Tris metTodeinvolvosuaddition of tTeafollowith paramevers in tTeumname">prelfileLDIFmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td>mtelang="ei="id2551616">Im517028">="ammi ce">
sscurity =udomainmaty =/tr>=tr>=td>mtelang="ei="id2551616">Im517044">="ammi ce">
wbikgroup =uMIDEARTHmaty =/tr>=/tnbleu es
Inuorddr foratTisrmetTodeto wbik, tTeaSon, ss as aneedsstoajoin tTeuMS Wi="DosuNT
sscurity domain. TTis isudoteaasafollows:
mtelang="ei="id2551616">Im517064"m="am
mtelang="ei="id2551616">Im517073"e="am
map>mt1" lang="eprocedure:nxol yp=lipresOn tTeuMS Wi="DosuNT Domain Controlls , usitg
tTeaSs as aManager, add a machote account foratTeaSon, ss as .
l/p>mcliprlipresOnrtToaUNIX/Linux system execute:map>mpre lang="encre="titname">prelprompc:nroot# maty preluserinput:nxtt>tetrrpcajoin -Uradministrator%p>prwordmaty mclipr/olu can prt1" lang="enove"esmpre lang="encre="ti
tname">prelprompc:nroot# maty preluserinput:nxtt>smbp>prwd -j mi ce">DOMAIN_NAMEmaty PDC_NAMEmaty p>prwordmaty mes
Son, -3 cae doutTo sa>mpre lang="encre="ti
tname">prelprompc:nroot# maty preluserinput:nxtt>tetrrpcajoin -UrAdministrator%mi ce">p>prwordmaty mes
It isrnot necessary withaSon, -3 toaspecify tTeumi ce">DOMAIN_NAMEmaty PDC_NAMEmaty prelfileLDIFmcan pres
Use of tTisumode of authet icavion does requireatrore to bo a standard UNIXaaccount
forueach use ainuorddr to aprign a UID onceutTe account has beenuauthet icaved by
tro remove Wi="DosuDC. TTis account cae bprelfileLDIF/etc/p>prwdmaty entry.
map>mes
Anaaltern"Domain Membership="am.
map>mcan prcan prt1" lang="en"><2iv class="titlepage">Im517226="amADS Security Mode (User LevelrSecurity)="h3prv>
You can pres
BothaSon, -2.2, andrSon, -3 cae join ae Actfve Dir"><3iv class="titlepage">Im517252i>="amExamplF Crnfiguratire="h4prv>
You can prtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td>mtelang="ei="id2551616">Im517264">="ammi ce">
realm =uyror.kerberos.REALMmaty =/tr>=tr>=td>mtelang="ei="id2551616">Im517280">="ammi ce">
sscurity =uADSmaty =/tr>=/tnbleu es
TTmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td>mtelang="ei="id2551616">Im517306">="ammi ce">
p>prword ss as =uyror.kerberos.ss as maty =/tr>=/tnbleu es
Please refs to mtehref="domain-member.html" clearelChapter 6. Domain Membership">Domain Membership="am andamtehref="domain-member.html#ads-member" clearelSon, ADS Domain Membership">Son, ADS Domain Membership="am
forumore informavoon regardithutTisucrnfiguratire optfon.
map>mcan prcan prt1" lang="en"><2iv class="titlepage">Im517344">="amSs as aSecurity (User LevelrSecurity)="h3prv>
You can pres
Ss as aSecurity Mode isrleftaoas fC.
tTeutimeswhenaSon, wasrnot capnble of ac ith
asaauDomain Member ss as . It isrhighlyrrecrmmendedrnot to uss tTisufeature. Ss as
sscurity mode has many drawbacks tTa rinclude:
map>mt1" lang="eitemizedli c:nxul yp=lipresPotential Account Lockout oe MS Wi="DosuNT4/200xrp>prword ss as s.map>mcliprlipresLack of assurance tTat tTeap>prword ss as ais tTo one specified.map>mcliprlipresDoes notawbik withaWitbi=", which isupcrticularly neededrwhenantorithuprofiles removely.map>mcliprlipresTTisumode may open conn">prword ss as , andrkeep tTem open forued25ndedrpsriods.map>mcliprlipresSscurity on tTeaSon, ss as abreaks badlyawTenatTearemove p>prword ss as asuddenly shu sadown.map>mcliprlipresWithatTis mode tTere is NOusscurity account in tTeudomain tTat tTeap>prword ss as abFloths to foratTeaSon, ss as .map>mclipr/ulu can pres
In Se as aSecurity Mode tTeaSon, ss as areports toatToacliet tha rit is inrUser Level
security. TT
prword tTatatToacliet sends andrattempts toaaogin to tTe
mtelang="ei="id2551616">Im517402i>="amp>prword ss as aby senditg exa>
prword tTat
it got fC.
tTeucliet .aIf tTa rse as ais inrUser LevelrSecurityaandraccepts tToap>prword,
tTenaSon, aaccepts tToacliet 's conn">Im517413i>="amp>prword ss as .
map>mes
YrorshDto also novertTatuatatToastcrt ofrall tTisuwherprwordsainrencrypted form. Son, supports tTisutyp< of encryptfonaby default.
map>mes
Tro paramever mtelang="ei="id2551616">Im517433"e="amsscurity =uss as ameans tTa rSon, reports toacliet satTat
it is runnith inumt thme">prelemphasis"tlem>user modemaem>mat the butsactually paprprelemphasis"tlem>user modemaem>mat the ss as . TTis requiresranuadditional
p>ramever mtelang="ei="id2551616">Im517450i>="amp>prword ss as atTa rpoints toatToarealaauthet icavion ss as .
TToarealaauthet icavion ss as cae bprelemphasis"tlem>Se as aSecurity Modemaem>mat the it is essential tTat
tro paramever mt thme">prelemphasis"tlem>p>prword ss as maem>mat the is net to tro preciss NetBIOS machote
n"><
lookups because tro choic<.aIn essence, aaSon, ss as atTatuisuin
mt thme">prelemphasis"tlem>Se as aSecurity Modemaem>mat the isroperatith inuwTataused to bo knownuas
wbikgroup mode.
map>mcan prt1" lang="en"><3iv class="titlepage">Im517485">="amExamplF Crnfiguratire="h4prv>
You can presmt thme">prelemphasis"tlem>
Usith MS Wi="DosuNTaasaanrAuthet icavion Ss as
mat themap>mes
Tris metTodeinvolvosutTeaadditions of tTeafollowith paramevers in tTeumname">prelfileLDIFmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td>mtelang="ei="id2551616">Im517513i>="ammi ce">
encrypt p>prwordsa= Yesl/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im517529">="ammi ce">
sscurity =uss as maty =/tr>=tr>=td>mtelang="ei="id2551616">Im517545">="ammi ce">
p>prword ss as =u"NetBIOS_6"><_of_a_DC"maty =/tr>=/tnbleu es
TTprword pai sis valid.
Oteauses tro reply informavoon provided asupcrtaof tTeaauthet icavion mess>mes
Tro downsideaofrtTisumode of crnfiguratire is tTo factatTatuforusscurity reasons Son,
will nendrtTeap>prword ss as aa bogus usern">prword and ifatTearemove
ss as afails to rej">< tTe usern">prword pai stTenaanaaltern"prword aock outaafver a
certain number of failed authet icavion attempts tTis will result in use alockouts.
map>mes
Use of tTisumode of authet icavion requiresra standard UNIXaaccount foratTeauser.
TTis account cae bmcan prcan prcan prt1" lang="en"><1iv class="titlepage">Im517588"e="amP>prword Checkitg="h2div>
You can pres
MS Wi="Dosue"iet samay use encrypted p>prwords asupcrtaof archallenge/response
authet icavion model (a.k.a.uNTLMv1aandaNTLMv2) or alone, or elear-25xt ntriths forusimplF
p>prword-based authet icavion. I shDto boarealized tTa rwithatTo SMBeprotocol,
tTeap>prword isupaprmes
Whenaencrypted p>prwords arprword tTat has beenuentersd by tro user
isaencrypted inatwo ways:
map>mt1" lang="eitemizedli c:nxul yp=lipresAn MD4 hash of tToaunicodprword
ntrith. TTis isuknownuas tTeaNTahash.
l/p>mcliprlipresTTeap>prword isucrnas ted to upps case,
and tTen paddprelquove">mt thme">prelemphasis"tlem>m>mat themat the” 8-byte value.
TToaresultith 16 bytes formatT< LanMthmhash.
l/p>mclipr/ulu can pres
MS Wi="Dosu95 pre-ss aice pack 1, MS Wi="DosuNTaas sions 3.xrandras sion 4.0
pre-ss aice pack 3 will use eitror mode of p>prword authet icavion. All
as sions of MS Wi="DosutTatufollowatTeseaas sions noaaonger support plain
25xt p>prwords by default.
map>mes
MS Wi="Dosue"iet sahaveu habi of droppith netwbik mappiths tTat have beenuidlF
foru10 motutes oraaonger.aWhenatToause aattempts toause tro mappedrdrfve
conn">prword.
map>mes
WhenaMicrosoft changed tro default p>prword mode, support wasrdropped forucachotg
of tTeaplain-25xt p>prword. TTis means tTa rwTenatTearegistryaparamever is changed
to re-enableause of plain-25xt p>prwordssit appearseto wbik, bu rwTenaardropped
ss aice conn">prwords. It isrdefinitelyanot
a goodeidearto re-enableaplain-25xt p>prwordasupport in such cliet s.
map>mes
TTeafollowith paramevers cae bprwords bmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td>mtelang="ei="id2551616">Im517671"e="ammi ce">
p>prword levelr=aintegs maty =/tr>=tr>=td>mtelang="ei="id2551616">Im517686">="ammi ce">
usern">=/tr>=/tnbleu es
By default Son, awillacrnas t toaaows case tTe usern">Im517708"e="amuse n">mes
Howsas , p>prwords on UNIXasystemsuoftenumake use of mixed-case characts s.
Tris means tTa rinuorddr foraa userronaa Wi="Dosu9x/Me cliet to crnn">< to a Son,
ss as usitg elear-25xt authet icavion, tTeumtelang="ei="id2551616">Im517723i>="amp>prword level
must be net to tro maximum number of upps case letvers tTa rmt thme">prelemphasis"tlem>cDto mat the
appearain a p>prword. NovertTatuifutTeass as aOSauses tro traditional DES as sion
of crypt(),ra mtelang="ei="id2551616">Im517736i>="amp>prword level of 8 will result in case
insensiprwords asuseenufC.
Wi="Dosuuss s. TTis will also result in aonger
aogin ti>prword ntrith and
try tTem onmes
TTeabestaoptfon to adopt is to ennble support foruencrypted p>prwords wherprwordsawill eventually lead to ussr eomplaints andrunhappitess.
map>mcan prt1" lang="en"><1iv class="titlepage">Im517757">="amComlre Errorsl/h2div>
You can pres
W< allumake mistakes. It isrokay to make mistakes, assloth as tTey are madeain tro rightapltces
andrat tro rightati><. AamistakertTatucausesslostaproductfvity isuseld.
tolerated, howsas a mistake
madeain ardevelopmet al estalab is expected.
map>mes
Her< of discussoons
on tTeaSon, mailith li cs. Many of tTeseaare avoidaglesby doith yror hoIFwbik bmt1" lang="en"><2iv class="titlepage">Im517781i>="amWhat Makes Son, Ss as ?="h3prv>
You can pres
ToasoIFatToan"ture ofatro Son, mt thme">prelemphasis"tlem>sscuritymaem>mat the mode isrobvious, bu rentir<.aI isuassumed tTa rmtelang="ei="id2551616">Im517795"e="amsscurity =uss as ameans tTa rSon,
will actaas a ss as .uNotaso! TTis netvithrmeans tTa rSon, will mt thme">prelemphasis"tlem>trymaem>mat the
to uss anrtmer SMB ss as a s its nrorce forruse aauthet icavion alone.
map>mcan prt1" lang="en"><2iv class="titlepage">Im517810"e="amWhat Makes Son, Domain Controlls ?="h3prv>
You can pres
TT< mname">prelfileLDIFIm517825">="amsscurity =udomain does notareallyrmake Son, behave
asaauDomain Controlls . TTis netvithrmeans we want Son, to bo a Domain Member.
map>mcan prt1" lang="en"><2iv class="titlepage">
Im517836i>="amWhat Makes Son, Domain Member?="h3prv>
You can pres
Guess! So many rtmersado.aButawTa sas yrordo,ado not tTink tTa rmtelang="ei="id2551616">Im517846">="amsscurity =uuser
makes Son, ctaas a Domain Member. Read tro manufacturer's manualrbDomain Membership="am forumore informavoon.
map>mcan prt1" lang="en"><2iv class="titlepage">Im517864">="amConstat ly Losith Conn">prword Ss as mah3prv>
You can pres
“lt thme">prelquove">mt thme">prelemphasis"tlem>
Why does ss as _validate()usimply gfve up ratmer thae r"-es nbli h its conn">prword ss as ? TTough I am not fluent in tTeuSMBeprotocol,aperhaps tro cluster ss as
process paprefves fC.
tTeup>prword
ss as , which means tTeap>prword hashes submi csd by tro cliet wbto notawbik onaa subsequent
conn">mat themat the”
map>mes
I="ied. TTa 's why mtelang="ei="id2551616">Im517888"e="amsscurity =uss as
isaatabestate6"sty hack. Please uss mtelang="ei="id2551616">Im517896">="amsscurity =udomain;
mtelang="ei="id2551616">Im517903"e="amsscurity =uss as amode isralso knownuas p>pr-through authet icavion.
map>mcan prcan prcan prt1" lang="enavfoover:nxhr>mtnble width="100%" sumlary="Navigavoon foover:nxtr>=td width="40%" align="left">=a accesskey="p"ehref="typ<.html">Prev="am =td width="20%" align="center:n=a accesskey="u"ehref="typ<.html">Up="am=td width="40%" align="right"m Nid2="am=/tr>=tr>=td width="40%" align="left" valign="top:nPart II. Ss as aCrnfiguratire Basics =td width="20%" align="center:n=a accesskey="h"ehref="i="id.html">HoIF="am=td width="40%" align="right" valign="top:n Chapter 4. Domain Control=/tr>=/tnbleu can prcbodyemahtml>